Cloudinary\UI\Component B

Total Complexity 95
Dependencies 2
Dependents 1
Total lines 857
Lines of code 453
Logical lines of code 202
Comment lines 307
Methods 39
Properties 8

Methods 39

Method Rating Maintainability Complexity Lines of code
setup_component_parts()
S
38 2 102
has_content()
S
60 7 12
prepare_struct_array()
S
56 5 18
compile_part()
S
59 5 14
conditional()
S
56 4 18
init()
S
57 4 17
build_attributes()
S
59 4 14
setup_conditions()
S
60 4 13
settings()
S
62 4 11
get_part()
S
57 3 17
build_struct()
S
57 3 17
render()
S
58 3 16
build_tag()
S
63 4 10
handle_structure()
S
64 4 9
get_state()
S
60 3 14
__call()
S
62 3 11
tooltip()
S
56 2 19
add_content()
S
68 3 7
is_struct_array()
S
77 3 3
is_void_element()
S
57 1 19
compile_structures()
S
73 2 5
is_enabled()
S
68 2 7
close_tag()
S
71 2 5
icon()
S
66 2 8
open_tag()
S
72 2 5
is_component_type()
S
74 1 4
compile_tag()
S
74 1 4
body()
S
76 1 4
compile_html()
S
75 1 4
__construct()
S
64 1 9
image_icon()
S
72 1 5
dashicon()
S
70 1 6
title()
S
75 1 4
setup()
S
82 1 3
get_value()
S
81 1 3
sanitize_value()
S
80 1 3
register_component_part()
S
65 1 9
enqueue_scripts()
S
91 1 2
pre_render()
S
91 1 2